﻿' <summary>
' BeeWit IDE Entorno de desarrollo Visual para php.
' BeeWitPHP IDE es el único entorno de desarrollo para PHP 
' de tipo WYSIWYG (What You See Is What You Get). 
' ¡Ahora si!, aproveche la potencia del lenguaje PHP 
' y desarrolle más rápidamente gracias a la programación 
' intuitiva de BeeWit.
' Copyright © 2010 Dewins Murillo Garcia 
' EMAIL: dewinsmg@gmail.com
' EMAIL: dewins@beewitsoft.com
' Este Programa es Software Libre: usted puede redistribuirlo 
' y/o modificarlo bajo los términos de la Licencia Publica General 
' GNU como es publicada por la Fundacion de Software Libre; 
' en la 3ra versión de la licencia.
' Este programa es distribuido con la esperanza de que sea útil, 
' pero SIN GARANTÍA ALGUNA; sin siquiera la garantía implícita 
' de VALOR COMERCIAL o FORMADO PARA UN PROPÓSITO EN PARTICULAR. 
' Vea la Licencia Publica General GNU para mas detalles.
' Usted debe haber recibido una copia de la Licencia Publica General 
' GNU junto con este programa. Si no, vaya a http://www.beewitsoft.com
' o en http://code.google.com/p/ajax-beewit-php-ide/
' </summary>
' <remarks></remarks>

Public Interface ifzFilesManager

    Structure strFile
        Dim Name As String
        Dim Path As String
    End Structure

    Function Conect(ByVal Path As String, ByVal User As String, ByVal Password As String) As Boolean

    Function Disconect(ByVal Path As String, ByVal User As String, ByVal Password As String) As Boolean

    Function ListDirectories(ByVal Path As String) As strFile()

    Function ListFiles(ByVal Path As String) As strFile()

    Function GetContentFile(ByVal Path As String) As String

    Function SetContentFile(ByVal Path As String, ByVal Content As String) As Boolean

    Function DeleteDirectory(ByVal Path As String, ByVal Notify As Boolean) As Boolean

    Function DeleteFile(ByVal Path As String, ByVal Notify As Boolean) As Boolean

    Function CreateDirectory(ByVal Path As String, ByVal Notify As Boolean) As Boolean

    Function CreateFile(ByVal Path As String, ByVal Notify As Boolean) As Boolean

    Function MoveDirectory(ByVal PathOld As String, ByVal PathNew As String, ByVal Notify As Boolean) As Boolean

    Function MoveFile(ByVal PathOld As String, ByVal PathNew As String, ByVal Notify As Boolean) As Boolean

    Function CopyDirectory(ByVal PathOld As String, ByVal PathNew As String, ByVal Notify As Boolean) As Boolean

    Function CopyFile(ByVal PathOld As String, ByVal PathNew As String, ByVal Notify As Boolean) As Boolean

    Function RenameFile(ByVal PathOld As String, ByVal PathNew As String, ByVal Notify As Boolean) As Boolean

    Function RenameDirectory(ByVal PathOld As String, ByVal PathNew As String, ByVal Notify As Boolean) As Boolean

End Interface
